/* Exercise 5.49
   ejer5_49.c */
#include <stdio.h>

/* function main begins program execution */
int main( void )
{
    int answer;

	printf("Do you know about Global Warming?\n");
	printf("1.- Yes\n");
	printf("2.- No\n");
	printf("Enter your answer: ");
	scanf("%d", &answer);

	if (answer == 1)
        printf("Good for you! :)");
    else
        printf("Read about it!!!");
	return 0; /* indicate that program ended successfully */
} /* end function main */
